<template>
	<view class="anbox">
		<image class="ewm" src="/static/logo.png" mode=""></image>
		<view class="text">这是您的专属身份码，分享此码给新用户新用户注册成功后，您就可以获得积分奖励</view>
	</view>
</template>

<script setup>
import { ref,onMounted } from 'vue';
import request from '../../utils/request';
let image=ref('')
let token=ref('')
onMounted(()=>{
	token.value=uni.getStorageSync('token')
	request.post('User/makeQrcode',{header:{
		"token":token.value,
	
	}}).then(res=>{
		console.log(res);
	}).catch(err=>{
		console.log(err);
	})
})
</script>

<style scoped>
	.anbox{
		width: 100%;
		height: 100vh;
		background-color: #f8f8f8;
		padding-top: 60rpx;
	}
	.ewm{
		width: 100%;
		height: 750rpx;
	}
	.text{
		font-size: 14px;
		color: #10c696;
		width: 600rpx;
		margin: 0 auto;
		margin-top: 40rpx;
		text-align: center;
	}
</style>
